<ion-view title="登录">
  <ion-nav-buttons side="left">
    <button class="button button-clear" ng-click="goBack()">
      <i class="icon ion-ios-arrow-back"></i>
    </button>
  </ion-nav-buttons>
  <ion-content>
    <div class="list">
      <label class="item item-input item-floating-label">
        <span class="input-label">员工编号</span>
        <input placeholder="员工编号" type="text" ng-model="loginCtrl.num">
      </label>
      <label class="item item-input item-floating-label">
        <span class="input-label">密码</span>
        <input placeholder="密码" type="password" ng-model="loginCtrl.pwd">
      </label>
    </div>
    <button class="button button-block button-positive" ng-disabled="!loginCtrl.num || !loginCtrl.pwd" ng-click="loginCtrl.login()">
      登录
    </button>
  </ion-content>
</ion-view>
